<div class="pop_up_content">
    <div class="add_new_list add-task clear js-first-step">
        <div class="field field_twoline clear">
            <span class="necessary">*</span>
            <div class="field_name">{{'TASK_DIALOG_CREATE_1' | i18n}}</div>
            <div class="field_content">
                <div class="name_select"><input class="text js-owner"/></div>
            </div>
        </div>
        <div class="field field_twoline clear">
            <div class="field_name">{{'TASK_DIALOG_CREATE_2' | i18n}}</div>
            <div class="field_content">
                <div class="name_select"><input class="text js-joiner"/></div>
            </div>
        </div>
        <div class="field clear">
            <p class="task_tip">{{'TASK_DIALOG_CREATE_3' | i18n}} </p>
        </div>
    </div>
    <div class="add_new_list add-task clear js-second-step" autofocus="true">
        <div class="field clear">
            <span class="necessary">*</span>
            <div class="field_name">{{'TASK_DIALOG_CREATE_4' | i18n}}</div>
            <div class="field_content">
                <input type="text" class="text taskname js-taskname" placeholder="{{'TASK_DIALOG_CREATE_5' | i18n}}" maxlength="30"/>
                <div class="js-drop hidden"
                     style="position:absolute;width:250px;border-radius: 3px;border:1px solid #c0c0c0;border-top:0;z-index:30001;cursor:default;background:#fff;">
                    <p style="margin:4px;">{{'TASK_DIALOG_CREATE_6' | i18n}}</p>
                    <ul style="margin:4px; letter-spacing: 2px;">
                        <li style="margin:4px;">{{'TASK_DIALOG_CREATE_7' | i18n}}{{#keywords.account}}</li>
                        <li style="margin:4px;">{{'TASK_DIALOG_CREATE_8' | i18n}}{{#keywords.account}}</li>
                        <li style="margin:4px;">{{'TASK_DIALOG_CREATE_9' | i18n}}{{#keywords.account}}</li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="field clear">
            <span class="necessary">*</span>
            <div class="field_name">{{'TASK_END_TIME' | i18n}}</div>
            <div class="field_content">
                <div class="date_area clear">
                    <span class="data_picker"></span>
                    <input type="text" class="date" title="{{'TASK_END_DATE' | i18n}}"/>
                </div>
                <div class="time_area clear">
                    <span class="time_picker"></span>
                    <input type="text" class="time"title="{{'TASK_END_TIME' | i18n}}"/>
                </div>
            </div>
        </div>
        <div class="field clear">
            <div class="field_name">{{'TASK_CONTENT_DETAIL_15' | i18n}}</div>
            <div class="field_content">
               <span class="ui-select-buttonset">
                   <select id="dlt_reminder">
                       <option value="-1">{{'TASK_REMIND_NO' | i18n}}</option>
                       <option value="0">{{'TASK_REMIND_ON_TIME' | i18n}}</option>
                       <option value="300">{{'TASK_REMIND_BEFORE_300' | i18n}}</option>
                       <option value="600">{{'TASK_REMIND_BEFORE_600' | i18n}}</option>
                       <option value="1800">{{'TASK_REMIND_BEFORE_1800' | i18n}}</option>
                       <option value="3600">{{'TASK_REMIND_BEFORE_3600' | i18n}}</option>
                       <option value="7200">{{'TASK_REMIND_BEFORE_7200' | i18n}}</option>
                       <option value="21600">{{'TASK_REMIND_BEFORE_21600' | i18n}}</option>
                       <option value="86400">{{'TASK_REMIND_BEFORE_86400' | i18n}}</option>
                       <option value="172800">{{'TASK_REMIND_BEFORE_172800' | i18n}}</option>
                   </select>
               </span>
            </div>
        </div>
        <div class="field clear js-joiner">
            <div class="field_name">{{'TASK_CONTENT_DETAIL_16' | i18n}}</div>
            <div class="field_content">
                <ul class="people_list task_people_list">
                    <li><a title="{{'TASK_DIALOG_CREATE_10' | i18n}}" class="task_add_people" href="javascript:;"></a></li>
                </ul>
            </div>
        </div>
        <div class="field clear">
            <div class="field_name">{{'TASK_CONTENT_DETAIL_17' | i18n}}</div>
            <input type="hidden" id="taskRelObject"/>
            <div class="field_content js-relate">
                <a title="{{'TASK_DIALOG_CREATE_11' | i18n}}" href="javascript:;" class="relate js-relate">{{'TASK_DIALOG_CREATE_11' | i18n}}</a>
                <div class="bussiness_select" style="display:none;">
                    <span class="ui-select-buttonset">
                        <select id="dlt_relate_business">
                        {{if tenantType == 1}}
                            <option value="66" selected>
                                {{'OBJECT_AGENT' | i18n}}
                            </option>
                            <option value="67">
                                {{'OBJECT_TERMINAL' | i18n}}
                            </option>
                            <option value="2">
                                {{#keywords.contact}}
                            </option>
                        {{else}}
                            {{if func.account.l == "1"}}
                            <option value="1" selected>{{#keywords.account}}</option>
                            {{/if}}
                            {{if !wanxue}}
                                {{if func.opportunity.l == "1"}}
                                <option value="3">{{#keywords.opportunity}}</option>
                                {{/if}}
                                {{if func.contact.l == "1"}}
                                <option value="2">{{#keywords.contact}}</option>
                                {{/if}}
                                {{if func.lead.l == "1"}}
                                <option value="11">{{#keywords.lead}}</option>
                                {{/if}}
                            {{/if}}
                            {{if func.campaign.l == "1"}}
                            <option value="6">{{#keywords.campaign}}</option>
                            {{/if}}
                        {{/if}}
                        </select>
                    </span>
                    <span class="task-relate js-task-relate">
                        <input type="text" class="text"/>
                        <span id="search_msg" class="tip_bottom hidden"></span>
                    </span>
                </div>
            </div>
        </div>
        <a href="javascript:;" class="more_link">{{'TASK_DIALOG_CREATE_12' | i18n}}&gt;&gt;</a>
        <div class="field clear" style="display:none;">
            <div class="field_name">{{'TASK_DIALOG_CREATE_13' | i18n}}</div>
            <div class="field_content"><textarea></textarea></div>
        </div>
        <div class="field clear" style="display:none;">
            <div class="field_name">{{'TASK_DIALOG_CREATE_14' | i18n}}</div>
            <div class="field_content">
                <div class="fileAdd">
                    <div class="fileinput-box">
                        <span class="fileinput-button">添加文件</span>
                    </div>
                </div>
            <!--<input type="file" name="upd_task_addon"/>-->
            </div>
        </div>
    </div>
</div>